<script>
		
	
		$(function() {
			 $.datepicker.setDefaults($.datepicker.regional['nl']); 
			 $.datepicker.setDefaults({ dateFormat: 'yy-mm-dd' });
			/* 日历 */	 
			$( "#publishDate" ).datepicker({
				changeMonth: true,
				changeYear: true
			});
			
			
		});
	</script>

<div id="main-wrapper">
 <div class="clearfix with-navigation" id="main">
    <div class="column" id="content">
      <div class="section">
      		<!--{$htmlErrMsg}-->
        <div class="tabs">
          <ul class="tabs primary clearfix">
          
          <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN)
          			OR ($smarty.session.authority == $smarty.const.AUTHORITY_MEMBER_ADMIN) }-->
            <li >
              <a href="<!--{$smarty.const.HTTP_URL}-->mypage/index.php">
                <span class="tab">members Management</span>
              </a>
            </li>
           <!--{/if}-->
           
           <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN)
          			OR ($smarty.session.authority == $smarty.const.AUTHORITY_NEWS_ADMIN) }-->
            <li class="active">
              <a href="<!--{$smarty.const.HTTP_URL}-->newsAdmin/index.php?mode=showNewslist" class="active">
                <span class="tab">Announcement/even Management</span>
              </a>
            </li>
            <!--{/if}-->
            
            <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN)
          			OR ($smarty.session.authority == $smarty.const.AUTHORITY_CONFERENCE_ADMIN) }-->
            <li >
              <a href="<!--{$smarty.const.HTTP_URL}-->conference/index.php"  >
                <span class="tab">conference Management</span>
              </a>
            </li>
            <!--{/if}-->
            
            <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN)
          			OR ($smarty.session.authority == $smarty.const.AUTHORITY_ELECT_ADMIN) }-->
             <li>
              <a href="<!--{$smarty.const.HTTP_URL}-->elect/elect.php">
                <span class="tab">elect Management</span>
              </a>
            </li>
            <!--{/if}-->
            
            <!--{if ($smarty.session.authority == $smarty.const.AUTHORITY_ADMIN) }-->
            <li>
              <a href="<!--{$smarty.const.HTTP_URL}-->pay/show_payment_details.php">
                <span class="tab">payment Management</span>
              </a>
            </li>
            
            <!--{/if}-->
          </ul>
        </div>
 		<div class="tabs" style="margin-top:10px;">
          <ul class="tabs primary clearfix">
            <li >
              <a href="<!--{$smarty.const.HTTP_URL}-->newsAdmin/index.php?mode=showNewslist" >
                <span class="tab">News List</span>
              </a>
            </li>
            <li class="active">
              <a href="<!--{$smarty.const.HTTP_URL}-->newsAdmin/index.php"  class="active" >
                <span class="tab">News Publish</span>
              </a>
            </li>
          </ul>
        </div>

  <div class="clearfix with-navigation" id="main">
    <div class="column" id="content">
      <div class="section">
      		<!--{$htmlErrMsg}-->
          	<div id="content-area">
          		<div style = "display:table-cell;text-align:left; width: 900px;">
          			<h3>News Publish </h3>
          			<hr>
                    <br />
          		</div>
                <div style="border-style:solid; border-width:1px">
          	<form action="<!--{$smarty.const.HTTP_URL}-->newsAdmin/index.php" method="post" id="user-register" >
          		<div class="form-item" id="edit-mail-wrapper">
	              <input name="bk" id="back" value="Go back" class="form-submit" type="button" onclick='history.back();' style=" float:right; width:100px; ">
	              <input name="preview" id="preview" value="Preview" class="form-submit" type="submit" style=" float:right; width:100px; ">
              </div>
          
          			<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
          			<input type="hidden" name="mode" id="mode" value="confirm" />
          			<input type="hidden" name="id" id="id" value="<!--{$id|escape}-->" />
          			
	              <!-- conferenceName -->
	              <div class="form-item" id="edit-mail-wrapper">
	                <label for="edit-mail">Title: 
	                <span class="form-required" title="This field is required.">* </span>
	                </label>
	                <input name="title" 
	                		id="title" 
	                		value="<!--{$title|escape}-->" 
	                		class="form-text required" 
	                		type="text"  />
	                
	              </div>
	              <div class="form-item" id="edit-mail-wrapper">
	                <label for="edit-mail">Publish Date: 
	                <span class="form-required" title="This field is required.">* </span>
	                </label>
	                <input name="publishDate" 
	                		id="publishDate" 
	                		value="<!--{$publishDate|escape}-->" 
	                		class="form-text required" 
	                		type="text" style='width:120px;' />
	                <span style='color: #1B2E79;' title="This field is required."> Publisher: </span>
	                <input name="publisher" 
	                		id="publisher" 
	                		value="<!--{$publisher|escape}-->" 
	                		class="form-text required" 
	                		type="text" style='width:120px;' />
	                <span class="form-required" title="This field is required.">* </span>
	              </div>
	              
	              <div style='height:50px;'></div>
	            <!--{$fckeditor}-->
	            
          </form>
          </div>
          
        </div>
        	
      </div>
    </div>
    <!-- /.section, /#content -->
  </div>
</div>
<!-- /#main, /#main-wrapper -->
